import Vue from 'vue'
import App from './App.vue'

// axios配置
import "./plugins/axios/index"

// vue-router配置
import router from './plugins/vue-router/index'

// element-ui配置
import "./plugins/element-ui/index"

// echarts配置
import "./plugins/echarts/index"

// vue-quill-editor配置
import "@/plugins/quill-editor/index"

//vuex配置
import store from '@/plugins/vuex/index'

// Vue配置
Vue.config.productionTip = false
new Vue({
  router: router,
  store:store,
  render: render => render(App),
  beforeCreate(){
    // 安装全局事件总线
    Vue.prototype.$bus=this
  }
}).$mount('#app')
